<?php
    /**
     * Created by PhpStorm.
     * User: mybook-lhp
     * Date: 18/7/8
     * Time: 下午7:43
     */

    namespace app\payment\model;


    use think\Model;

    class PaymentLogModel extends Model
    {

        protected $name = 'payment_log';

        static public function SetLog($pay_type,$pay_sn,$log_content)
        {

            self::create(['pay_type'    => $pay_type,
                          'pay_sn'      => $pay_sn,
                          'log_content' => $log_content,
                          'create_time' => time()
            ]);
        }

    }